﻿using System;

namespace Program23
{
    class Program
    {
        private static void Main(string[] args)
        {
            decimal salary = 8000.0M;
            Charge(ref salary);
            Console.WriteLine("这个月的工资为{0}元", salary);
        }
        public static void Charge(ref decimal s)
        {
            s -= 500;
            Console.WriteLine("这个月扣款为{0}元", s);
        }
    }
}
